package Program.Information;

public class Fee {
    //id
    private int id;
    //用户id
    private int userID;
    //水费
    private double waterFee;
    //电费
    private double electricFee;
    //天然气费
    private double gasFee;
    //停车费
    private int parkFee;
    //日期
    private String day;
    //总费用
    private double sumFee;
    //是否支付
    private String state;

    public Fee() {
    }

    public Fee(int id, int userID, double waterFee, double electricFee,
               double gasFee, int parkFee, String day, double sumFee,String state) {
        this.id = id;
        this.userID = userID;
        this.waterFee = waterFee;
        this.electricFee = electricFee;
        this.gasFee = gasFee;
        this.parkFee = parkFee;
        this.day = day;
        this.sumFee = sumFee;
        this.state =state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public double getWaterFee() {
        return waterFee;
    }

    public void setWaterFee(double waterFee) {
        this.waterFee = waterFee;
    }

    public double getElectricFee() {
        return electricFee;
    }

    public void setElectricFee(double electricFee) {
        this.electricFee = electricFee;
    }

    public double getGasFee() {
        return gasFee;
    }

    public void setGasFee(double gasFee) {
        this.gasFee = gasFee;
    }

    public int getParkFee() {
        return parkFee;
    }

    public void setParkFee(int parkFee) {
        this.parkFee = parkFee;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public double getSumFee() {
        return sumFee;
    }

    public void setSumFee(double sumFee) {
        this.sumFee = sumFee;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Fee{" +
                "id=" + id +
                ", userID=" + userID +
                ", waterFee=" + waterFee +
                ", electricFee=" + electricFee +
                ", gasFee=" + gasFee +
                ", parkFee=" + parkFee +
                ", day='" + day + '\'' +
                ", sumFee=" + sumFee +
                ", state='" + state + '\'' +
                '}';
    }
}
